//导入request.js请求工具
import request from '@/utils/request.js'


// 同意采购申请
export function agreeApply(query) {
    return request({
        url: '/approval/agree',
        method: 'post',
        data: query
    })
}

// 驳回采购申请
export function rejectApply(query) {
    return request({
        url: '/approval/reject',
        method: 'post',
        data: query
    })
}